public class J2411191 {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.createList();
//        System.out.println("1234");
//        mySingleList.display();;
//        mySingleList.size();
//        mySingleList.contain(23);
//        mySingleList.addFirst(199);
//        mySingleList.addLast(299);
//        mySingleList.addIndex(0,100);
//        mySingleList.display();
        mySingleList.addIndex(3,500);
        mySingleList.display();
        mySingleList.addIndex(1,600);
        mySingleList.display();

//        mySingleList.addIndex(5,399);
//        mySingleList.display();
//        mySingleList.remove(500);
//        mySingleList.display();
    }
}
